PROJECT(revoreader)

SET(QT_USE_QTXML TRUE)
FIND_PACKAGE(Qt4)

SET(RevoReader_SRC
  Main.cpp
  )

SOURCE_GROUP(RevoReader FILES ${RevoReader_SRC})

INCLUDE(${QT_USE_FILE})

#INCLUDE_DIRECTORIES( )

ADD_DEFINITIONS(
  -DUNICODE
  -D_UNICODE
  -D_WIN32_WINNT=0x0501)

IF(MSVC)
    SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS_INIT} /ENTRY:mainCRTStartup")
ENDIF()

ADD_EXECUTABLE(RevoReader WIN32 ${RevoReader_SRC})
TARGET_LINK_LIBRARIES(RevoReader ${QT_LIBRARIES})
